package com.ruoyi.app.service.impl.mapper;

import com.ruoyi.app.domain.Area;
import com.ruoyi.app.domain.Filling;
import com.ruoyi.app.domain.Station;
import com.ruoyi.app.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FillingMapper {
    List<Area> selectAreaList(Area area);
    List<Station> selectStationList(Station station);
    List<User> selectUserList(User user);

    String selectAreaListByTime(@Param("userId") String userId,@Param("times") String times,@Param("endTime") String endTime);
    int insertFilling(Filling filling);
    int updateFilling(Filling filling);
    List<Filling> selectFillingList(Filling filling);

    Filling selectFillingById(Filling filling);

    Filling selectFillingNowMonth(Filling filling);
}
